package com.atguigu.gmall.search.service;

import com.atguigu.gmall.model.list.Goods;
import com.atguigu.gmall.model.list.SearchParam;
import com.atguigu.gmall.model.list.SearchResponseVo;


public interface SkuEsService {
    void save(Goods goods);


    void deleteById(Long skuId);


    /**
     * 检索服务
     * @param searchParam
     * @return
     */
    SearchResponseVo search(SearchParam searchParam);

    void updateSkuHotScore(Long skuId, Long hotScore);
}
